package com.woniuxy02;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-05-22 17:23
 */
public class Test11 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入用户名");
        String username = sc.next();
        System.out.println("输入密码");
        String password = sc.next();
        if (username.equals("a")&&"aaa".equals(password)) {
            System.out.println("登录成功");
        } else {
            System.out.println("登录失败");
        }
    }
}
